import { RouteObject } from "react-router-dom";
import ClusterPage from "@/pages/ClusterPage";
import NodePage from "@/pages/NodePage";
import ProducerPage from "@/pages/ProducerPage";
import ConsumerPage from "@/pages/ConsumerPage";
import GroupPage from "@/pages/GroupPage";
import MonitorPage from "@/pages/MonitorPage";
import SettingsPage from "@/pages/SettingsPage";
import AboutPage from "@/pages/AboutPage";

const routes: RouteObject[] = [
    {
        path: "/",
        element: <ClusterPage />
    },
    {
        path: "/cluster",
        element: <ClusterPage />
    },
    {
        path: "/node",
        element: <NodePage />
    },
    {
        path: "/producer",
        element: <ProducerPage />
    },
    {
        path: "/consumer",
        element: <ConsumerPage />
    },
    {
        path: "/group",
        element: <GroupPage />
    },
    {
        path: "/monitor",
        element: <MonitorPage />
    },
    {
        path: "/settings",
        element: <SettingsPage />
    },
    {
        path: "/about",
        element: <AboutPage />
    }
]
export default routes;